Ext.define('App.holiday.view.HolidayList', {
    extend: 'Extend.grid.CrudGridPanel',
    alias: 'widget.HolidayList',
    requires: [
        'App.holiday.viewmodel.HolidayViewModel'],
    viewModel: 'HolidayViewModel',
    config: {
        tbar: {
            quickCreate: {
                hidden: true
            }
        }
    },
    bind: {
        store: '{Query}',
        columns: '{columns}',
        search: '{search}'
    },
    editor: {
        formClazz: 'App.holiday.view.HolidayEditor',
        save: 'management/holiday/save',
        get: 'management/holiday/get_by_id',
        del: 'management/holiday/deletes',
        model:'App.holiday.model.HolidayModel'
    }
});